home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
CRS
/
crs30.d81
/
80-auto.arc
/
80 AUTOBOOT.INFO
next >
Wrap
Text File
|
2009-10-10
|
4KB
|
177 lines
╔╬╙╘╥╒├╘╔╧╬╙ ╞╧╥
┴╒╘╧┬╧╧╘ ═┴╬┴╟┼╥ ╓5.0
┬Y ╓ICTOR ╙INGLETON
═IKE ─ONNELLY
═IKE ╙TEELE
╘HIS PROGRAM ALLOWS YOU TO
MANIPULATE THE AUTOBOOT SECTOR FEATURE
OF THE ├128 IN A NUMBER OF WAYS. ═ANY
OF THE ROUTINES ARE DERIVED FROM
SIMILAR PROGRAMS BY ╦EVIN ╚ISEL, ╞RED
┬OWEN, ╘ERRY ╥YAN, AND ALL THE OTHER
FINE PEOPLE THAT CONTRIBUTED.
┴FTER LOADING IN THE PROGRAM,
INSERT THE DISK ON WHICH THE AUTOBOOT
SECTOR IS TO BE CREATED AND ENTER ╥╒╬.
╘HE PROGRAM CHECKS TO SEE IF TRACK 1,
SECTOR 0 HAS THE "├┬═" BOOT MARKER. ╔F
THE MARKER IS NOT THERE IT CHECKS TO
SEE IF THE SECTOR HAS BEEN ALLOCATED.
╔F IT HAS THEN ONE OF THE FILES ON THE
DISK IS USING IT AND CREATING A BOOT
SECTOR WILL CORRUPT THAT FILE.
╔F ALL IS WELL THEN THE MAIN MENU WILL
APPEAR.╔F THE TRACK IS BEING USED BY
ANOTHER PROGRAM FILE THEN YOU WILL HAVE
A MENU WITH THESE 3 OPTIONS.
1) ╥ELOCATE ╘RACK 1 ╙ECTOR 0
2) ╥ERUN
3) ┼XIT
╔F THE TRACK HAS ANOTHER AUTO BOOT ON
THE TRACK IT WILL TELL YOU. ╘HEN YOU
WILL HAVE THE 2 OPTIONS
1) ├ONTINUE
2) ┼XIT
** ╥┼╠╧├┴╘┼ ╘╥┴├╦ 1 ╙┼├╘╧╥ 0 **
╘HIS OPTION WILL SCAN THROUGH EACH FILE
UNTILL IT FINDS THE FILE THAT LINKS TO
╘RACK-1 ╙ECTOR-0.┴LL THE WAY UP UNTILL
TRACK 79.╔F IT DOES'NT FIND IT IT WILL
RETURN YOU BACK TO THE MAIN MENU.╔F IT
FINDS THE LINK IT LOOKS FOR THE NEXT
FREE TRACK THEN REWRIGHTS IT THERE THEN
FREES ╘R-1 ╙E-0 FOR AN AUTOBOOT.╘HIS
WILL ALSO DISPLAY A FILE IF IT COLLIDES
WITH ANOTHER FILE. ┘OU WILL ALSO HAVE
THE OPTION WEATHER OR NOT TO DISPLAY
THE CHAIN AS IT WORKS.
╘HIS PROGRAM IS VERY ╞┴╙╘.
*┴UTO ┼XECUTE ═╠ ├ODE*
╘HIS OPTION ALLOWS YOU TO INSERT
AN SHORT ═╠ ROUTINE INTO THE AUTOBOOT
SECTOR SO THAT IT WILL BE EXECUTED ON
AUTOBOOTING THE DISK. ╘HE CODE MUST BE
RELOCATABLE OR BE DESIGNED TO START AT
$0┬15. ╔T MUST BE 235 BYTES LONG OR
LESS. ╔T MUST RESIDE ON THE DISK ON
WHICH YOU ARE CREATING THE AUTOBOOT
SECTOR. ╘HE PROGRAM ASKS FOR THE
FILENAME OF THE DISKFILE AND THE SIZE
OF THE ═╠ CODE. ╘HE AUTOBOOT SECTOR IS
THEN CREATED AND THE ═╠ READ FROM THE
FILE AND ADDED TO TRACK 1, SECTOR 0.
┘OU CAN THEN EXIT THE PROGRAM OR RERUN
IT. ╔F YOU LIKE, THE DISKFILE OF THE
═╠ CODE CAN BE SCRATCHED SINCE THE
CODE NOW RESIDES IN THE AUTOBOOT
SECTOR AND WILL BE EXECUTED ON BOOTING
THE DISK.
*╙ET ├OLORS AND ╧PENING ═ESSAGE*
╘HIS OPTION LETS YOU CREATE AN
AUTOBOOT SECTOR WHICH WILL SET THE 40
SCREEN COLORS AND DISPLAY A MESSAGE AT
THE TOP OF THE SCREEN. ╩UST FOLLOW THE
MENU TO CHOOSE THE COLORS YOU LIKE.
╘HE INPUT ROUTINE FOR THE OPENING
MESSAGE ALLOWS YOU TO ENTER UP TO 160
CHARACTERS (4 LINES) FORMATED THE WAY
YOU WANT. ╒╙┼ ╘╚┼ ╙╨┴├┼ ┬┴╥ TO MOVE TO
THE NEXT LINE AS THE ╥┼╘╒╥╬ KEY IS
USED TO END YOUR MESSAGE. ╫HEN ALL IS
CORRECT THE AUTOBOOT SECTOR IS CREATED
ON THE DISK.
*╙WITCH TO 64 ═ODE*
╘HIS OPTION CREATES A BOOT SECTOR
WHICH WILL SWITCH THE 128 INTO 64 MODE
WHEN THE COMPUTER IS TURNED ON.
*╙WITCH TO 64 ═ODE/┬OOT A ╨ROGRAM*
╘HIS OPTION WILL SWITCH OVER TO
64 MODE AND THEN ╠╧┴─ AND ╥╒╬ A ┬┴╙╔├
2.0 PROGRAM. ╩UST INPUT THE NAME OF
THE FILE TO BOOT.
*╠╧┴─ AND ╥╒╬ A ┬┴╙╔├ ╨ROGRAM*
╘HIS OPTION WILL CREATE AN
AUTOBOOT SECTOR TO ╠╧┴─ AND ╥╒╬ ANY
┬┴╙╔├ 7.0 PROGRAM ON THE DISK. ╔NPUT
THE NAME OF THE FILE AND THE BOOT
SECTOR IS WRITTEN TO THE DISK.
╔NCIDENTLY, IN THIS AND THE OTHER
OPTIONS TRACK 1, SECTOR 0 IS ALLOCATED
IN A WAY THAT AVOIDS THE BUG IN THE
1541 AND 1571 THAT WILL ALLOCATE THE
WHOLE TRACK.
*┬╧╧╘ AN ═╠ ╨ROGRAM*
╘HIS OPTION IS SIMILAR TO THE
PREVIOUS ONE EXCEPT IT WILL BOOT AN ═L
FILE TO THE PROPER PLACE IN MEMORY AND
╙┘╙ TO THE STARTING ADDRESS.
*─ISABLE AN ┼XISTING ┴UTOBOOT ╙ECTOR*
╘HIS OPTION WILL DISABLE THE
AUTOBOOT SECTOR ON A DISK BY REPLACING
THE "├┬═" MARKER WITH NULLS AND
DEALLOCATING TRACK 1, SECTOR 0.
*╓ALIDATE A ─ISK*
╔F YOU VALIDATE A DISK WITH A
BOOT SECTOR, TRACK 1, SECTOR 0 WILL BE
DEALLOCATED. ╙UBSEQUENT WRITING TO THE
DISK MAY OVERWRITE THE BOOT SECTOR
DESTROYING IT. ╘HIS OPTION VALIDATES
THE DISK AND THEN REALLOCATES THE BOOT
SECTOR IF IT EXISTS.
*┼ND OF DOCUMENTATION*